import Vue from 'vx'
//index.js
Vue.filter('skipFilter', function (input, skipAt, skipEndAt, appendStr) {
	if (!vx.isArray(input) && !vx.isString(input))
		return input;
	else if (skipEndAt && !appendStr)
		return input.slice(skipAt, skipEndAt);
	else if (appendStr) {
		if (vx.isString(input) && (input.length - 1) > skipEndAt) {
			return input.slice(skipAt, skipEndAt) + appendStr;
		} else if (vx.isString(input)) {
			return input.slice(skipAt, skipEndAt);
		}
	} else
		return input.slice(skipAt);

});